#include "playdata.h"

PlayData::PlayData(QSize size)
{
    this->size = new QSize(size);
    this->field = new AbstractPlayer[size.height()*size.width()];
}

QSize * PlayData::getSize()
{
    return this->size;
}

bool PlayData::placeMark(QPoint point)
{
    //if(this->field[point.x()*point.y()] != null)
        //this->field[point.x()*point.y()] = currentplayer;
}
